<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1, minimum-scale=1, maximum-scale=1">
<meta name="referrer" content="never">
<meta name="robots" content="index,follow">
<link rel="shortcut icon" href="/favicon.png?v=198964">
<link rel="apple-itouch-icon" href="/favicon.png?v=198964">
<link href="/bundle/index.min.css" rel="stylesheet">
<link href="https://fonts.loli.net/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" rel="stylesheet">
<link href="https://cdn.staticfile.org/prism/1.16.0/themes/prism.min.css" rel="stylesheet">
<link href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script>
    function ensureDate(e){return"object"!=typeof e&&(e=new Date(e)),e}function dateFormat(e,t){void 0===t&&(t=e,e=ensureDate());let n={M:(e=ensureDate(e)).getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),q:Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()},r=new RegExp("([yMdhmsqS])+","g");return t=t.replace(r,function(t,r){let u=n[r];if(void 0!==u)return t.length>1&&(u=(u="0"+u).substring(u.length-2)),u;if("y"===r){return(e.getFullYear()+"").substring(4-t.length)}return t})}
</script>
    <meta name="keywords" content="Just be nice, always think twice!">
    <meta name="description" content="Just be nice, always think twice!">
    <title>江矿先森的博客.</title>
</head>

<body>
    <article class="container">
         <header class="header-wrap">
    <nav class="main-nav">
        <ul class="menu vertical naive">
            <li class="menu-item"><a href="/">Home</a></li>
            <li class="menu-item"><a href="/archive.html">Archive</a></li>
            <li class="menu-item"><a href="/tag.html">Tag</a></li>
            
            <li class="menu-item"><a href="/atom.xml">RSS</a></li>
        </ul>
    </nav>
    <div class="bgs" style="background-image: url(https://pic6.58cdn.com.cn/nowater/webim/big/n_v212fe49b1d6d5492cb1def84eeff4b142.jpg);"></div>
    <div class="vertical">
        <div class="header-wrap-content inner">
            <h3 class="title">Stay before every beautiful thoughts.</h3>
            <h3 class="subtitle">Just be nice, always think twice!</h3>
        </div>
    </div>
    <a class="scroll-down icon-down-open" href="#article"></a>
</header> 
        <article class="main page" id="article">
            
            <ul class="article-list">
                
                <li class="article">
                    <a class="title" href="/react-setstate.html">React setState 数组、对象多种方式</a>  
                    <section class="preview content"><p>State用来设置会变换的数据。State相当重要，所有的UI界面变化都离不开State。</p>
</section>
                    <section class="info">
                        <span class="avatar" style="background-image: url(https://pic1.58cdn.com.cn/nowater/webim/big/n_v2a9773b605e754c8493cf53ca8f5c0d7e.jpg);"></span><a class="name" href="javascript:;">江矿先森.</a>  
                        <span class="date"><script>document.write(dateFormat( 1579937034 *1000, 'yyyy-MM-dd'));</script></span> 
                        
                    </section>
                </li>
                
                <li class="article">
                    <a class="title" href="/taro-tips.html">taro奥特曼变身前指北</a>  
                    <section class="preview content"><p>成功安装 Taro 后，进行开发前，我们有必要了解一下 Taro 的一些注意事项避免踩坑。</p>
</section>
                    <section class="info">
                        <span class="avatar" style="background-image: url(https://pic1.58cdn.com.cn/nowater/webim/big/n_v2a9773b605e754c8493cf53ca8f5c0d7e.jpg);"></span><a class="name" href="javascript:;">江矿先森.</a>  
                        <span class="date"><script>document.write(dateFormat( 1536636234 *1000, 'yyyy-MM-dd'));</script></span> 
                        
                    </section>
                </li>
                
                <li class="article">
                    <a class="title" href="/weapp-modal.html">微信小程序商品详情页的底部弹出框</a>  
                    <section class="preview content"><p>电商项目中商品详情页，加入购物车或者下单时可以选择商品属性的弹出框，通过设置view的平移动画，达到从底部弹出的样式。</p>
</section>
                    <section class="info">
                        <span class="avatar" style="background-image: url(https://pic1.58cdn.com.cn/nowater/webim/big/n_v2a9773b605e754c8493cf53ca8f5c0d7e.jpg);"></span><a class="name" href="javascript:;">江矿先森.</a>  
                        <span class="date"><script>document.write(dateFormat( 1529551434 *1000, 'yyyy-MM-dd'));</script></span> 
                        
                    </section>
                </li>
                
                <li class="article">
                    <a class="title" href="/axios-intercterps.html">axios token验证拦截器</a>  
                    <section class="preview content"><p>因项目每次都要带token进行操作, 这时候可以用axios的http拦截, 每次路由跳转, 都先让后台验证一下token是否有效, 在http头添加token,</p>
</section>
                    <section class="info">
                        <span class="avatar" style="background-image: url(https://pic1.58cdn.com.cn/nowater/webim/big/n_v2a9773b605e754c8493cf53ca8f5c0d7e.jpg);"></span><a class="name" href="javascript:;">江矿先森.</a>  
                        <span class="date"><script>document.write(dateFormat( 1526786634 *1000, 'yyyy-MM-dd'));</script></span> 
                        
                    </section>
                </li>
                
                <li class="article">
                    <a class="title" href="/node-koa-openid.html">node&#43;koa获取微信授权拿到openid</a>  
                    <section class="preview content"><p>因项目是node+koa, 然后需要获取openid, 没办法, 只能搞事情了.</p>
</section>
                    <section class="info">
                        <span class="avatar" style="background-image: url(https://pic1.58cdn.com.cn/nowater/webim/big/n_v2a9773b605e754c8493cf53ca8f5c0d7e.jpg);"></span><a class="name" href="javascript:;">江矿先森.</a>  
                        <span class="date"><script>document.write(dateFormat( 1525947834 *1000, 'yyyy-MM-dd'));</script></span> 
                        
                    </section>
                </li>
                
            </ul>
            <section class="page-nav">
                 <span class="nav">1 / 10</span> <a class="next" href="/page2.html">Next</a>
            </section>
        </article>
    </article>
    <footer class="footer clearfix">
    <span class="copyright">
        <script>
            document.write(new Date().getFullYear());
        </script> <i class="fa fa-copyright"></i> Made with <i class="fa fa-heart"></i> using &ltjoname /&gt
        <span id="runtime_span"></span>
    </span>
</footer>
</body>
<script src="/bundle/index.min.js"></script>
</html>